﻿namespace GoodAdmin.System;

public class MenuOutPut
{
    /// <summary>
    /// Id
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 父Id
    /// </summary>
    public long ParentId { get; set; }
    /// <summary>
    /// 标题 
    ///</summary>
    public string Title { get; set; }
    /// <summary>
    /// 别名 
    ///</summary>
    public string Name { get; set; }
    /// <summary>
    /// 编码 
    ///</summary>
    public string Code { get; set; }
    /// <summary>
    /// 分类 
    ///</summary>
    public string Category { get; set; }
    /// <summary>
    /// 菜单类型 
    ///</summary>
    public string MenuType { get; set; }
    /// <summary>
    /// 路径 
    ///</summary>
    public string Path { get; set; }
    /// <summary>
    /// 组件 
    ///</summary>
    public string Component { get; set; }

    /// <summary>
    /// 颜色 
    ///</summary>    
    public string Color { get; set; }
    /// <summary>
    /// 排序码 
    ///</summary>
    public int SortCode { get; set; }

    /// <summary>
    /// 子菜单
    /// </summary>
    public List<SysMenu> Children { get; set; }

    /// <summary>
    /// 菜单Meta信息
    /// </summary>
    public MenuMeta Meta { get; set; }
}
